// Engine.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "Application/DApplicationSFML.h"

// memory leaks test includes
#include <stdlib.h>
#include <crtdbg.h>

int main()
{
    _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );

    boost::shared_ptr<DIApplication> app = boost::shared_ptr<DIApplication>(new DApplicationSFML());
	app->init();
	app->run();

	app->cleanup();

	return 0;
}

